
CREATE FUNCTION fn_GetNthRow (@row_number int)
RETURNS TABLE
AS
RETURN 
(
    with Records AS(select row_number() over(order by Position) as 'row', * 
                from dbo.Land)
	select * from records
	where row = @row_number
);
GO